package com.poetize.plus.utils;

import java.util.List;

/**
 * @author zuosy
 * @created 2024/4/1 16:00
 */
public class BaseConstant {

    public static class Redis{

        public static final String HOME_MENU = "home_menu";

        public static final String HOME_ARTICLE = "home_article";

        public static final String HOME_RECOMMEND_ARTICLE = "home_recommend_article";

        public static final String HOME_NOTICE = "home_notice";

        public static final String HOME_WEB_INFO = "home_web_info";

        public static final String HOME_SORT = "home_sort";

        public static final String HOME_LABEL = "home_label";

        /**
         * 邮箱注册有效期
         */
        public static final String MAIL_VALIDITY = "_validity";

        /**
         * 邮箱注册限制
         */
        public static final String MAIL_RESTRICT = "_restrict";
    }

    public static class Resource{

        public static final List<String> imageType = List.of("jpg","jpeg","png");
    }

    public static class Message{
        public static final String encoderContent = "该文章内容已加密";
    }
}
